home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / fly8.c < prev    next >
C/C++ Source or Header  |  1979-12-31  |  957b  |  42 lines

  1. /* --------------------------------- fly8.c --------------------------------- */
  2.  
  3. /* This is part of the flight simulator 'fly8'.
  4.  * Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5. */
  6.  
  7. /* 'fly8' was the name of the last version written back in '74 at the
  8.  * Technion with Danny. It ran on a PDP-15 with a VT15 stroke graphics
  9.  * device at the EE digital lab. Assembley, no color, sound supplied by
  10.  * the mechanical console teletype shaking it's head and ringing it's bell.
  11.  * Those were the days (come to think of it, mostly NIGHTS!).
  12. */
  13.  
  14. #include "fly.h"
  15.  
  16.  
  17. struct status    NEAR st = {0};
  18.  
  19. extern int
  20. C_MAIN (int argc, char *argv[])
  21. {
  22.     int    n;
  23.  
  24.     memset ((char *)&st, 0, sizeof (st));
  25.  
  26.     check_stack (0);
  27.  
  28.     initialize (argv);
  29.  
  30.     sim_set ();
  31.     screen_start ();        /* show fixed screen contents */
  32.     sim_reset ();
  33.  
  34.     user_command ();        /* let them have the controls */
  35.  
  36.     n = check_stack (1);
  37.     terminate (n);
  38.  
  39.     exit (0);
  40.     return (0);            /* avoid compiler warning */
  41. }
  42.